home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 5
/
Amiga Tools 5.iso
/
grafik
/
3d & render tools
/
irit
/
man
/
man6
/
boolsum.6
< prev
next >
Wrap
Text File
|
1996-07-16
|
2KB
|
48 lines
.TH BOOLSUM
6 "IRIT Version 6.0"
.SH NAME
BOOLSUM
SurfaceType BOOLSUM( CurveType Crv1, CurveType Crv2,
CurveType Crv3, CurveType Crv4 )
Construct a surface using the provided four curves as its four boundary
curves. Curves do not have to have the same order or type, and will be
promoted to their least common denominator. The end points of the four
curves should match as follows:
Crv1 start point, to Crv3 start point.
Crv1 end point, to Crv4 start point.
Crv2 start point, to Crv3 end point.
Crv2 end point, to Crv4 end point.
where Crv1 and Crv2 are the two boundaries in one parametric
direction, and Crv3 and Crv4 are the two boundaries in the other
parametric direction.
Example:
Cbzr1 = cbezier( list( ctlpt( E3, 0.1, 0.1, 0.1 ),
ctlpt( E3, 0.0, 0.5, 1.0 ),
ctlpt( E3, 0.4, 1.0, 0.4 ) ) );
Cbzr2 = cbezier( list( ctlpt( E3, 1.0, 0.2, 0.2 ),
ctlpt( E3, 1.0, 0.5, -1.0 ),
ctlpt( E3, 1.0, 1.0, 0.3 ) ) );
Cbsp3 = cbspline( 4,
list( ctlpt( E3, 0.1, 0.1, 0.1 ),
ctlpt( E3, 0.25, 0.0, -1.0 ),
ctlpt( E3, 0.5, 0.0, 2.0 ),
ctlpt( E3, 0.75, 0.0, -1.0 ),
ctlpt( E3, 1.0, 0.2, 0.2 ) ),
list( KV_OPEN ) );
Cbsp4 = cbspline( 4,
list( ctlpt( E3, 0.4, 1.0, 0.4 ),
ctlpt( E3, 0.25, 1.0, 1.0 ),
ctlpt( E3, 0.5, 1.0, -2.0 ),
ctlpt( E3, 0.75, 1.0, 1.0 ),
ctlpt( E3, 1.0, 1.0, 0.3 ) ),
list( KV_OPEN ) );
Srf = BOOLSUM( Cbzr1, Cbzr2, Cbsp3, Cbsp4 );